package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.StaffStateDao;
import com.prs.crm.domain.person.StaffState;

public class StaffStateDaoImpl extends BaseDaoImpl<StaffState> implements StaffStateDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<StaffState> getAllStaffState() {
		Criteria criteria=this.getSession().createCriteria(StaffState.class);
		return criteria.list();
	}

}
